/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication1;

import Calculadora.*;

/**
 *
 * @author userlab17
 */
public class JavaApplication1 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Operacion o;
        o = new Suma(
                new Suma(new Numero(5), new Numero(8)),
                new Resta(new Numero(7), new Tangente(new Numero(5))));
            System.out.println(o.Operar());
            System.out.println(o);
            new Interfaz().setVisible(true);
            new Calcu().setVisible(true);
    }
}
